package net.edu_soft.ec.asset.mapper;

import java.util.List;
import net.edu_soft.ec.asset.pojo.UserAff;
import net.edu_soft.ec.asset.pojo.UserAffExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserAffMapper {
    long countByExample(UserAffExample example);

    int deleteByExample(UserAffExample example);

    int deleteByPrimaryKey(Integer userAffId);

    int insert(UserAff record);

    int insertSelective(UserAff record);

    List<UserAff> selectByExample(UserAffExample example);

    UserAff selectByPrimaryKey(Integer userAffId);

    int updateByExampleSelective(@Param("record") UserAff record, @Param("example") UserAffExample example);

    int updateByExample(@Param("record") UserAff record, @Param("example") UserAffExample example);

    int updateByPrimaryKeySelective(UserAff record);

    int updateByPrimaryKey(UserAff record);
}